from django.conf.urls import url

from apps.verifications import views

urlpatterns = [
    # 图形验证码image_codes/(?P<uuid>[\w-]+)/
    url(r'^image_codes/(?P<uuid>[\w-]+)/$', views.ImageCodeView.as_view(), name='img_code'),
    # 短信验证码/sms_codes/(?P<mobile>1[3-9]\d{9})/
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$', views.SMSCodeView.as_view(), name='sms_code'),
]
